package jym.tan.movielibrary.logger;

import org.apache.log4j.Logger;

public class LibraryLogger {

	private static Logger logger = Logger.getLogger(LibraryLogger.class.getClass());
	
	public static void initMessage(String className) {
		logger.info("Initializing " + className);
	}
	
	public static void infoMessage(String message) {
		logger.info(message);
	}
	
	public static void startTimerMessage(String timerName) {
		logger.info(timerName + " Started");
	}
	
	public static void runningTimerMessage(String timerName) {
		logger.info(timerName + " Running");
	}
	
	public static void stopTimerMessage(String timerName) {
		logger.info(timerName + " Stoped");
	}
	
	public static void errorMessage(String message) {
		logger.error(message);
	}
}
